package cate.game.event.task;

import cate.game.event.GameEventListener;
import cate.game.role.Role;

public class TaskDoneListener implements GameEventListener<TaskDoneEvent> {
    @Override
    public void onEvent(TaskDoneEvent gameEvent) {
        Role role = gameEvent.getRole();
        int taskId = gameEvent.taskItem.tid;
        role.getRes().achievement.checkPush(taskId);
    }
}
